package com.yuerlive.rainbow.entity;

/**
 * Created by xiaoyi on 2017/5/17.
 */

public class BaseData<T> {
    private int code;
    private String result;

    private T object;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    @Override
    public String toString() {
        return "BaseData{" +
                "code=" + code +
                ", result='" + result + '\'' +
                ", object=" + object +
                '}';
    }
}
